import { LAYOUT } from '@/router/constants';
import type { RouteRecordItem } from 'vc/src/router';

const GREEN_CERTIFICATE: RouteRecordItem = {
  path: '/greenCertification',
  component: LAYOUT,
  meta: {
    title: '绿色环保认证',
    menuIndex: 0,
    subMenuIndex: 4
  },
  children: [
    {
      path: 'greenMine',
      component: () => import('@/views/modules/greenFinance/greenCertification/greenMine/index.vue'),
      meta: {
        title: '绿色矿山'
      }
    },
    {
      path: 'greenProduct',
      component: () => import('@/views/modules/greenFinance/greenCertification/greenProduct/index.vue'),
      meta: {
        title: '绿色产品认证'
      }
    },
    {
      path: 'greenCompany',
      component: () => import('@/views/modules/greenFinance/greenCertification/greenCompany/index.vue'),
      meta: {
        title: '绿色企业'
      }
    }
  ]
};

export default GREEN_CERTIFICATE;
